package chapter04.field_method05;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.r = 10;
        circle.area2(3.14);
        circle.area2(3.1415926);
        double r = 15;
        double pai = 3.14;
        double s = circle.area3(r, pai);
        System.out.println("半径为" + r
                + "的圆面积为" + s);

    }
}
